public class Test4 {
        private static int x = 100;
        public static void main(String args[]) {
            Test4 hsl = new Test4();
            hsl.x++;
            Test4 hs2 = new Test4();
            hs2.x++;
            hsl = new Test4();
            hsl.x++;
            Test4.x--;//最正确的静态成员变量访问方式
            System.out.println(" x=" + x);
        }

}
